package com.szholly.utils.spring.springmvc.route;

/**
 * 定义功能信息
 */
public class FunctionInfo {

	/**
	 * 路由名称
	 */
	private String routeName;
	/**
	 * 功能地址
	 */
	private String functionUrl;
	/**
	 * 功能名称
	 */
	private String functionName;
	/**
	 * 显示索引
	 */
	private int showIndex;
	/**
	 * 功能分组
	 */
	private String functionGroup;
	/**
	 * 参数信息
	 */
	private String paraInfo;

	/**
	 * 样式
	 */
	private String styleName;

	/**
	 * @param routeName
	 * @param showIndex
	 * @param styleName
	 * @param functionGroup
	 * @param functionName
	 * @param functionUrl
	 */
	public FunctionInfo(String routeName, int showIndex, String styleName,
			String functionGroup, String functionName, String functionUrl) {
		this.routeName = routeName;
		this.showIndex = showIndex;
		this.functionName = functionName;
		this.functionGroup = functionGroup;
		this.functionUrl = functionUrl;
		this.styleName = styleName;
	}

	/**
	 * @param routeName
	 * @param showIndex
	 * @param functionGroup
	 * @param functionName
	 * @param paraInfo
	 */
	public FunctionInfo(String routeName, int showIndex, String functionGroup,
			String functionName, String paraInfo) {
		this.routeName = routeName;
		this.showIndex = showIndex;
		this.functionName = functionName;
		this.functionGroup = functionGroup;
		this.paraInfo = paraInfo;
	}

	/**
	 * ��ȡ·�����
	 * 
	 * @return
	 */
	public String getRouteName() {
		return routeName;
	}

	/**
	 * ����·�����
	 * 
	 * @param routeName
	 */
	public void setRouteName(String routeName) {
		this.routeName = routeName;
	}

	/**
	 * ��ȡ���ܵ���Url
	 * 
	 * @return
	 */
	public String getFunctionUrl() {
		return functionUrl;
	}

	/**
	 * ���ù��ܵ���Url
	 * 
	 * @param functionUrl
	 */
	public void setFunctionUrl(String functionUrl) {
		this.functionUrl = functionUrl;
	}

	/**
	 * ��ȡ�������
	 * 
	 * @return
	 */
	public String getFunctionName() {
		return functionName;
	}

	/**
	 * ���ù������
	 * 
	 * @param functionName
	 */
	public void setFunctionName(String functionName) {
		this.functionName = functionName;
	}

	/**
	 * ��ȡ��ʾ����
	 * 
	 * @return showIndex
	 */
	public int getShowIndex() {
		return showIndex;
	}

	/**
	 * ������ʾ����
	 * 
	 * @param showIndex
	 *            Ҫ���õ� showIndex
	 */
	public void setShowIndex(int showIndex) {
		this.showIndex = showIndex;
	}

	/**
	 * ��ȡ���ܷ���
	 * 
	 * @return functionGroup
	 */
	public String getFunctionGroup() {
		return functionGroup;
	}

	/**
	 * ���ù��ܷ���
	 * 
	 * @param functionGroup
	 *            Ҫ���õ� functionGroup
	 */
	public void setFunctionGroup(String functionGroup) {
		this.functionGroup = functionGroup;
	}

	public String getParaInfo() {
		return paraInfo;
	}

	public void setParaInfo(String paraInfo) {
		this.paraInfo = paraInfo;
	}

	public String getStyleName() {
		return styleName;
	}

	public void setStyleName(String styleName) {
		this.styleName = styleName;
	}
}